/*
 * UserAccessTableModel.java
 *
 * Created on 18 May 2003, 10:11
 * Copyright (C) 2003, Velocityme Partnership
 */

package com.velocityme.client.gui;

/**
 *
 * @author  Robert Crida Work
 *
 */
public class UserAccessTableModel extends VectorTableModel {
    
    /** Creates a new instance of UserAccessTableModel */
    public UserAccessTableModel() {
        super(new String[] {"Node", "User", "Role"});
    }
    
    /** Add a new row to the table.
     */
    public void addRow(String p_node, String p_user, String p_role) {
        m_dataRows.addElement(new Object[]{ p_node, p_user, p_role });
        fireTableRowsInserted(m_dataRows.size() - 1, m_dataRows.size());
    }

}
